//
//  DHREPlayeRadio.m
//  Moment
//
//  Created by dllo on 15/12/30.
//  Copyright © 2015年 片刻. All rights reserved.
//



@implementation DHREPlayeRadio
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}

-(void)setUserinfo:(NSMutableDictionary *)userinfo{
    if (_userinfo != userinfo) {
        _userinfo = userinfo;
    }
    _userInfo = [Userinfo new];
    [_userInfo setValuesForKeysWithDictionary:_userinfo];

}
-(void)setPlayInfo:(NSMutableDictionary *)playInfo{
    if (_playInfo != playInfo) {
        _playInfo = playInfo;
    }
    _playinfo = [[Playinfo alloc]init];
    [_playinfo setValuesForKeysWithDictionary:_playInfo];
}
-(void)setAuthorinfo:(NSMutableDictionary *)authorinfo{
    if (_authorinfo != authorinfo) {
        _authorinfo = authorinfo;
    }
    _authorInfo = [Authorinfo new];
    [_authorInfo setValuesForKeysWithDictionary:_authorinfo];
}
-(void)setMoreting:(NSMutableArray *)moreting{
    NSMutableArray *arr = [NSMutableArray array];
    if (_moreting != moreting) {
        _moreting = moreting;
    }
    for (NSMutableDictionary *dic in _moreting) {
        Moreting *mortings = [Moreting new];
        [mortings setValuesForKeysWithDictionary:dic];
        [arr addObject:mortings];
    }
    _moreting = [NSMutableArray arrayWithArray:arr];
}
@end
@implementation Moreting
-(void)setValue:(id)value forUndefinedKey:(NSString *)key{
    
}
-(void)setPlayInfo:(NSMutableDictionary *)playInfo{
    if (_playInfo != playInfo) {
        _playInfo = playInfo;
    }
    _playinfo = [[Playinfo alloc]init];
    [_playinfo setValuesForKeysWithDictionary:_playInfo];
}

@end
